package com.wnxy.pms.product.core.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel("秒杀商品对象")
@Data
public class PromotionProductVo implements Serializable {

    @ApiModelProperty("秒杀活动的ID")
    private Integer promotionId;

    @ApiModelProperty("商品ID")
    private Integer productId;

    @ApiModelProperty("商品标题")
    private String title;

    @ApiModelProperty("子标题")
    private String subTitle;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("促销价")
    private BigDecimal promotionPrice;

    @ApiModelProperty("图片")
    private String pic;

    @ApiModelProperty("商品库存")
    private Integer stock;
}
